from alg import maxProduct
from gen import generate_test_cases


def run_tests():
    test_cases = generate_test_cases()
    for i, case in enumerate(test_cases, 1):
        print(f"测试用例 {i}:")
        print(f"输入: {case}")
        print(f"输出: {maxProduct(case)}")
        print()


if __name__ == "__main__":
    run_tests()
